/*
 * @Author: wangzhichiao<https://github.com/wzc570738205>
 * @Date: 2021-06-29 15:50:18
 * @LastEditors: wangzhichiao<https://github.com/wzc570738205>
 * @LastEditTime: 2021-06-29 16:22:07
 */
const path = require("path");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
var WebpackObfuscator = require('webpack-obfuscator');

module.exports = {
  mode: "production",
  entry: "./index.js",
  output: {
    filename: "main.js",
    path: path.resolve(__dirname, "dist"),
  },
  plugins: [
    new WebpackObfuscator({
      rotateUnicodeArray: true
    },[])
  ],
};
